#ifndef CONFIG_H
#define CONFIG_H

#include <cstdio>
#include <string>

typedef enum {
  Single, WA
} AuthorshipType;

class Config {

public:

    FILE *idiomFile;
    bool idiomFeature;
    
    FILE *graphletFile;
    bool graphletFeature;
    
    FILE *libcallFile;
    bool libcallFeature;
    
    FILE *ngramFile;
    bool ngramFeature;
    
    FILE *dataFile;
    bool dataFeature;

    FILE *addressingModeFile;
    bool addressingModeFeature;

    std::string base;

    FILE *binaryFile;

    FILE *statisticFile;

    bool featureList;
    FILE *featureListFile;

    bool debug;

    Config();
    int ReadConfigFile(const std::string &directory);
    void Close();

};

#endif 
